﻿namespace iMarkdown.Blocks;

public class HeaderBlock : Block
{
    public int Level { get; set; }

    public override string ToHtml()
    {
        return $"<h{Level}>{Context}</h{Level}>";
    }
}